package com.my.coolq.api.request;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

/**
 * 群踢人
 * @author ch
 *
 */
public class GroupKickRequest implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 5902709837837140202L;

	/**
	 * 群qq号码
	 */
	private Long group_id;
	
	/**
	 * 用户的qq号码
	 */
	private Long user_id;
	
	/**
	 * 拒绝此人的加群请求
	 */
	private Boolean reject_add_request = Boolean.FALSE;

	public GroupKickRequest() {
		super();
	}

	public GroupKickRequest(Long group_id, Long user_id) {
		super();
		this.group_id = group_id;
		this.user_id = user_id;
	}

	public GroupKickRequest(Long group_id, Long user_id, Boolean reject_add_request) {
		super();
		this.group_id = group_id;
		this.user_id = user_id;
		this.reject_add_request = reject_add_request;
	}

	public Long getGroup_id() {
		return group_id;
	}

	public void setGroup_id(Long group_id) {
		this.group_id = group_id;
	}

	public Long getUser_id() {
		return user_id;
	}

	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}

	public Boolean getReject_add_request() {
		return reject_add_request;
	}

	public void setReject_add_request(Boolean reject_add_request) {
		this.reject_add_request = reject_add_request;
	}
	
	@Override
	public String toString() {
		return JSON.toJSONString(this, SerializerFeature.UseISO8601DateFormat);
	}
	
}
